package com.bwie.bwedu.model.impl;

import com.bwie.bwedu.bean.Student;
import com.bwie.bwedu.model.AddStuListen;
import com.bwie.bwedu.model.CommitStuModel;
import com.bwie.bwedu.volley.RequestAPI;

/**
 * Created by 沫沫~ on 2016/7/23.
 */
public class CommitStuImpl implements CommitStuModel {


	@Override
	public void Comit(String per, String ptel, String stu, String stel, String adress, String IDcard, String id, String procurator, final AddStuListen addStuListen) {
//		RequestAPI.upLoading(stu,stel,id,adress,IDcard,per,ptel,procurator,"",new Response.Listener<BaseResponse>(){
//			@Override
//			public void onResponse(BaseResponse baseResponse) {
//				if (baseResponse.ok==true){
//					addStuListen.onSuccess();
//				}else{
//					addStuListen.onFail(baseResponse.msg+"");
//				}
//			}
//		},new Response.ErrorListener(){
//
//			@Override
//			public void onErrorResponse(VolleyError volleyError) {
//				addStuListen.onFail("请检查网络");
//			}
//		});

	}
	public void Comit(Student student,AddStuListen listen) {
		RequestAPI.upLoading(student,listen);
	}


	}
